# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=himitsu-firefox
pkgver="0.3"
pkgrel=0
pkgdesc="Firefox integration for Himitsu"
url="https://himitsustore.org"
arch="x86_64 aarch64" # Hare
license="GPL-3.0-only"
makedepends="hare himitsu-dev zip"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/himitsu-firefox/archive/$pkgver.tar.gz
"
install="$pkgname.post-install"
builddir="$srcdir/$pkgname-$pkgver"
options="!check"

build() {
	make -j1 PREFIX=/usr
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install-native
}

sha512sums="
35c9a53da2b91b2539c52c0f4cce2b13800f7e55ea762041ddb1118c5db299196dbebff6579613f83e28cabaf6f398fca5af0bc32a325e40b7f0d1a6bb88213d  himitsu-firefox-0.3.tar.gz
"
